package main

import "fmt"

func main() {
	/*var p *int
	fmt.Println(p)*/
	num := 2
	var p1 *int
	p1 = &num
	fmt.Println("num变量的地址:", p1)
	fmt.Println("指针变量p1的地址为:", &p1)
	fmt.Println("指针p1所指向的值为:", *p1)

}
